package com.md.value.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 刘骄阳
 * 2022-04-01 11:54
 */
@AllArgsConstructor
@Getter
public enum NumberConstants {
  ZERO(0),
  ONE(1),
  TEN(10),
  ELEVEN(11);
  private final Number code;

  public Integer getIntCode() {
    return this.code.intValue();
  }

  public Long getLongCode() {
    return this.code.longValue();
  }
}
